from app.api.admin.schema.coupon.coupon_rule import CouponRuleInSchema, CouponRuleOutSchema
from typing import List


class CouponRuleService:
    async def add(self, coupon_rule_in: CouponRuleInSchema) -> CouponRuleOutSchema:
        pass

    async def edit(self, coupon_rule_in: CouponRuleInSchema) -> CouponRuleOutSchema:
        pass

    async def detail(self) -> CouponRuleOutSchema:
        pass

    async def list(self) -> list[CouponRuleOutSchema]:
        pass

    @classmethod
    async def instance(cls) -> "CouponRuleService":
        return cls()
